﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TH_ProductList.ascx.cs" Inherits="UserControls_TH_ProductList" %>
<div class="topProducts">
    <h2>
        HÀNG PHỔ THÔNG
    </h2>
    <div class="topProductsWrap" style="padding-left:20px;">
        <asp:Repeater ID="repSanPhamPhoThong" runat="server" onitemcommand="repSanPhamPhoThong_ItemCommand" >
		    <ItemTemplate>
    		    <div class="itemProducts">
                            <a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>" onclick="do_add('SelectSanPhamByLoaiSP_NSX.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>');">
                                <img src="images/products/<%#Eval("HinhMinhHoa") %>" alt="<%#Eval("TenSanPham") %>" width="90" height="90"/>
                            </a>
						    <h3><a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>"><%#Eval("TenSanPham")%></a></h3>
                            <div style="bottom: 18px; right: 8px; position: absolute; text-align: right; width: 100%;">
                                <h5>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="BuyNow" CommandArgument='<%# Eval("id") %>'>Mua</asp:LinkButton>
                                </h5>
                            </div>
						    <div style="bottom: -10px; position: absolute; text-align: center; width: 100%;">
						        <span style="line-height:1.3em;">Giá: <%# String.Format("{0:#,##0;Nothing}", Eval("Gia"))%> VNĐ</span><BR />
						        &nbsp;&nbsp;<span><br /></span>
						    &nbsp;</div>
                </div>
		    </ItemTemplate>
		</asp:Repeater> 
    </div>
</div> 
<div class="topProducts">
        <h2>
        HÀNG TRUNG CẤP
        </h2>
        <div class="topProductsWrap" style="padding-left:20px;">
                <asp:Repeater ID="repSanPhamTrungCap" runat="server" 
                    onitemcommand="repSanPhamTrungCap_ItemCommand" >
		            <ItemTemplate>
    		            <div class="itemProducts">
                            <a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>" onclick="do_add('SelectSanPhamByLoaiSP_NSX.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>');">
                                <img src="images/products/<%#Eval("HinhMinhHoa") %>" alt="<%#Eval("TenSanPham") %>" width="90" height="90"/>
                            </a>
						    <h3><a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>"><%#Eval("TenSanPham")%></a></h3>
                            <div style="bottom: 18px; right: 8px; position: absolute; text-align: right; width: 100%;">
                                <h5>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="BuyNow" CommandArgument='<%# Eval("id") %>'>Mua</asp:LinkButton>
                                </h5>
                            </div>
						    <div style="bottom: -10px; position: absolute; text-align: center; width: 100%;">
						        <span style="line-height:1.3em;">Giá: <%# String.Format("{0:#,##0;Nothing}", Eval("Gia"))%> VNĐ</span><BR />
						        &nbsp;&nbsp;<span><br /></span>
						    &nbsp;</div>
                        </div>
		            </ItemTemplate>
		        </asp:Repeater> 
        </div>
    </div>
    <div class="topProducts">
    <h2>
    HÀNG CAO CẤP
    </h2>
    <div class="topProductsWrap" style="padding-left:20px;">
                <asp:Repeater ID="repSanPhamCaoCap" runat="server" 
                    onitemcommand="repSanPhamCaoCap_ItemCommand" >
		            <ItemTemplate>
    		            <div class="itemProducts">
                            <a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>" onclick="do_add('SelectSanPhamByLoaiSP_NSX.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>');">
                                <img src="images/products/<%#Eval("HinhMinhHoa") %>" alt="<%#Eval("TenSanPham") %>" width="90" height="90"/>
                            </a>
						    <h3><a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>"><%#Eval("TenSanPham")%></a></h3>
                            <div style="bottom: 18px; right: 8px; position: absolute; text-align: right; width: 100%;">
                                <h5>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="BuyNow" CommandArgument='<%# Eval("id") %>'>Mua</asp:LinkButton>
                                </h5>
                            </div>
						    <div style="bottom: -10px; position: absolute; text-align: center; width: 100%;">
						        <span style="line-height:1.3em;">Giá: <%# String.Format("{0:#,##0;Nothing}", Eval("Gia"))%> VNĐ</span><BR />
						        &nbsp;&nbsp;<span><br /></span>
						    &nbsp;</div>
                        </div>
		            </ItemTemplate>
		        </asp:Repeater> 
        </div>
    </div>